package com.jf3q.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema
public class CourseInfoVo {
    @Schema(description = "课程ID")
    private String id;

    @Schema(description ="课程讲师ID")
    private String teacherId;

    @Schema(description ="课程专业ID-二级分类")
    private String subjectId;

    @Schema(description = "一级分类级ID")
    private String subjectParentId;

    @Schema(description = "课程标题")
    private String title;

    @Schema(description = "课程销售价格，设置为0则可免费观看")
    // 0.01
    private BigDecimal price;

    @Schema(description = "总课时")
    private Integer lessonNum;

    @Schema(description = "课程封面图片路径")
    private String cover;

    @Schema(description = "课程简介")
    private String description;
}
